<template>
	<view class="noRes">
		<view class="noData" v-if="show">
			<img style="width: 280rpx; height: 280rpx; margin-top: 20vh" :src="config.getImage('weiZhaoDao')" alt="" />
			<view class="font28">没有找到! 换个内容试试吧</view>
		</view>
		<view class="noList" v-else>
			<img style="width: 280rpx; height: 280rpx; margin-top: 20vh" :src="config.getImage('weiShangBao')" alt="" />
			<slot></slot>
		</view>
	</view>
</template>

<script setup>
import config from '@/config.js';
const props = defineProps({
	show: {
		type: Boolean,
		default: false
	}
});
</script>
<style></style>
